Skip to main content

index join

Short Description

The index join node is used to access column data where the column is referred to in the query but does not have a covering index.

Detailed Description​

The index join node is used to access column data where the column is referred to in the query but does not have a covering index.

For example a table has three columns, colA, colB and colC with a primary key on colA and colB.

SELECT colC FROM table WHERE colA = 10 and colB = 1;

Because the unindexed column is being retrieved, a lookup on the primary key is required to access the value in colC. This lookup is called an index join and can be costly. Using a STORING clause for colC on the index can ensure the index β€˜covers’ all the data queried and make the additional index lookup unnecessary.

Search online​

If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.